package com.woniuxy.mapper;

import com.woniuxy.entity.CarType;
import com.woniuxy.entity.CarTypeExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;


/*
@author Jan
@create 2020-05-20 19:00

*/

public interface CarTypeMapper {
    long countByExample(CarTypeExample example);

    int deleteByExample(CarTypeExample example);

    int deleteByPrimaryKey(Integer typeId);

    int insert(CarType record);

    int insertSelective(CarType record);

    List<CarType> selectByExample(CarTypeExample example);

    CarType selectByPrimaryKey(Integer typeId);

    int updateByExampleSelective(@Param("record") CarType record, @Param("example") CarTypeExample example);

    int updateByExample(@Param("record") CarType record, @Param("example") CarTypeExample example);

    int updateByPrimaryKeySelective(CarType record);

    int updateByPrimaryKey(CarType record);
}